﻿using System;
using System.Collections.Generic;

using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Yu.Cms.Common;

namespace Yu.Cms.Web.UserCtrl.Admin
{
    public partial class Default : System.Web.UI.UserControl
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                this.OnStart();
            }
        }

        protected void OnStart()
        {
            lblDate.Text = Utils.GetCnDate() + " " + Utils.GetCnWeek();
            lblVersion.Text = Utils.GetAssemblyProductName() + " " + Utils.GetAssemblyVersion();
        }
    }
}